part of internal;

ArgumentError null_arg = new ArgumentError('arguments should not be null');
ArgumentError empty_div = new ArgumentError('container must be an empty div');
ArgumentError wrong_height = new ArgumentError('container must have height in ems');
ArgumentError small_height = new ArgumentError('container must have height at least 7em');

const int BACKSPACE = 8;
const int TAB = 9;
const int ENTER = 13;
const int DELETE = 46;

const int LEFT = 37;
const int RIGHT = 39;
const int UP = 38;
const int DOWN = 40;

const int HOME = 36;
const int END = 35;
const int PAGE_UP = 33;
const int PAGE_DOWN = 34;

const int CUT = 88;
const int COPY = 67;
const int PASTE = 86;

List<int> badKeys = [BACKSPACE,TAB,ENTER,DELETE,
                     LEFT,RIGHT,UP,DOWN,
                     HOME,END,PAGE_UP,PAGE_DOWN];
